package com.rimi.service;

import com.rimi.bean.Pets;
import com.rimi.commons.CommonResult;

import java.util.List;

/**
 * @author liHaiYang
 * @version V1.0
 * @Description: (用一句话描述该文件做什么)
 * @date 2021/7/6 10:51
 */
public interface PetsService {


    CommonResult addPets(Pets pets);

    List<Pets> findPetsByUserId(Integer userId);


    CommonResult deletePetsByPetId(Integer petId);

    CommonResult updatePets(Pets pets);

    int upLoadImg(String imgurl, Integer petId);
}
